#ifndef MIKROSPI_H
#define MIKROSPI_H

#include "p24FJ256GB110.h"
#include "Mikro.h"

/* General-purpose SPI (Serial Peripheral Interface) for the Mikro board */
void SPI2_Init();
void SPI2_Clock_Speed(uint8 pri_prescale, uint8 sec_prescale);
uint8 SPI2_Write(uint8 data);

#endif // MIKROSPI_H
